<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人主页</title>
    <style>
        /* 基础样式 */
        body, html {
            height: 100%;
            margin: 0;
            font-family: 'Arial', sans-serif;
            overflow: hidden;
        }

        /* 背景图片 */
        .bg {
            background-image: url('./pic/bg2.jpg'); /* 替换为你的图片路径 */
            height: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;
        }

        /* 内容容器 */
        .content {
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .content h1 {
            font-size: 3rem;
            margin: 0;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* 导航按钮 */
        .nav-button {
            display: inline-block;
            margin-top: 1.5rem;
            padding: 0.8rem 1.5rem;
            background: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            transition: transform 0.2s, box-shadow 0.2s;
            font-size: 1rem;
        }

        .nav-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            background: #2980b9;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .content {
            animation: fadeIn 1s ease-out;
        }
    </style>
</head>
<body class="bg">
<div class="content">
    <h1>${user.username}，你好！</h1>
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
    <a href="blogList.jsp" class="nav-button">📝 我的博客</a>
=======
    <a href="blogList.jsp" class="nav-button">📝 进入留言板</a>
>>>>>>> 2c9a92f (新增删除博客功能)
=======
    <a href="blogList.jsp" class="nav-button">📝 进入留言板</a>
>>>>>>> a05f6f6 (密码密文存储)
=======
    <a href="blogList.jsp" class="nav-button">📝 进入留言板</a>
>>>>>>> 2acfcf7 (详情页)
=======
    <a href="blogList.jsp" class="nav-button">📝 进入留言板</a>
>>>>>>> d93a5bb (移除index页)
</div>
</body>
</html>